// src/routes/planets/planets.router.js

const express = require('express');

const { 
    httpGetAllPlanets
 } = require('./planets.controller');

// 创建 planetsRouter 路由器实例
const planetsRouter = express.Router();

// 为 planetsRouter 路由器实例添加 GET 请求处理⽅法

planetsRouter.get('/', httpGetAllPlanets);

module.exports = planetsRouter;
